Hybrid bond graph